/*
 * Copyright 2008 Federal Emergency Management Agency
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at 
 * 
 *    http://www.apache.org/licenses/LICENSE-2.0 
 *    
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and 
 * limitations under the License. 
 *  
 */
package gov.fema.hazus.bdc.server.dto;

import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class DTO_WindHazard extends DTO_AbstractPersistentEntity {

	private static final long serialVersionUID = -7196235624538264287L;
	
	@Persistent private String exposure;
	@Persistent private String topography;
	@Persistent private String shielding;
	@Persistent private String shieldingHeight;
	@Persistent private String debrisSource;
	
	// constants
	public static final String EXPOSURE = "exposure";
	public static final String TOPOGRAPHY = "topography";
	public static final String SHIELDING = "shielding";
	public static final String SHIELDINGHEIGHT = "shielding height";
	public static final String DEBRISSOURCE = "debris source";
	
	public DTO_WindHazard()
	{
		
	}
	
	public String getDebrisSource() {
		return debrisSource;
	}

	public void setDebrisSource(String debrisSource) {
		this.debrisSource = debrisSource;
	}

	public String getExposure() {
		return exposure;
	}

	public void setExposure(String exposure) {
		this.exposure = exposure;
	}

	public String getShielding() {
		return shielding;
	}

	public void setShielding(String shielding) {
		this.shielding = shielding;
	}

	public String getShieldingHeight() {
		return shieldingHeight;
	}

	public void setShieldingHeight(String shieldingHeight) {
		this.shieldingHeight = shieldingHeight;
	}

	public String getTopography() {
		return topography;
	}

	public void setTopography(String topography) {
		this.topography = topography;
	}

	public String toString()
	{
		String str = "";
		str += "[wind-hazard";
		str += "[exposure="+this.exposure+"]";
		str += "[topography="+this.topography+"]";
		str += "[shielding="+this.shielding+"]";
		str += "[shielding-height="+this.shieldingHeight+"]";
		str += "[debris-source="+this.debrisSource+"]";
		str += "]";
		return str;
	}		
	
}
